UCF STIG Viewer Logo

All GIDs referenced in /etc/passwd must be defined in /etc/group


Overview

Finding ID Version Rule ID IA Controls Severity
RHEL-06-000294 RHEL-06-000294 RHEL-06-000294_rule Low
Description
Inconsistency in GIDs between /etc/passwd and /etc/group could lead to a user having unintended rights.
STIG Date
Red Hat Enterprise Linux 6 Security Technical Implementation Guide 2013-02-05

Details

Check Text ( C-RHEL-06-000294_chk )
To ensure all GIDs referenced in /etc/passwd are defined in /etc/group, run the following command:

# pwck -rq

There should be no output.
If there is output, this is a finding.
Fix Text (F-RHEL-06-000294_fix)
Add a group to the system for each GID referenced without a corresponding group.